package com.wteam.dragon.shop.pojo.vo;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author 陈晓辉
 * @Date 2021/4/8 9:29
 */
@Getter
@Setter
public class AddressVo implements Serializable {
    private Long id;

    @NotNull(message = "收件人姓名不能为空")
    private String receiveName;

    @NotNull(message = "收件人电话不能为空")
    private String receivePhone;

    private Integer defaultStatus;

    private String postCode;

    @NotNull(message = "省份不能为空")
    private String province;

    @NotNull(message = "市不能为空")
    private String city;

    @NotNull(message = "区不能为空")
    private String region;

    @NotNull(message = "详细地址不能为空")
    private String detailAddress;
}
